<?php
namespace app\common\process;

class NativeProductArea extends Base {
	protected $model = null;

	public function __construct() {
		parent::__construct();
		$this->model = loadModel('tysj\\NativeProductArea');
	}

	public function get_options($fun = null) {
		$model = $this->model;
		if(is_callable($fun)) {
            $fun($model);
        }
        loader()->loadAny('search', 'tysj\\NativeProductArea')->get_options($model);
        return $model->column('id,name');
	}
}
